home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gawk / cawf2st.zoo / makefile.old < prev    next >
Makefile  |  1991-06-04  |  1KB  |  46 lines

  1. #     Makefile for cawf
  2.  
  3. #    Define UNIX for standard Unix systems.
  4. #
  5. #    Define UNIX and USG for System V Unix systems.
  6. #
  7. #DEFS = -DUNIX -DUSG ...
  8. #
  9. #    Define STDLIB for systems that have <stdlib.h>.
  10. #
  11. #    Redefine CAWFLIB by adding -DCAWFLIB=\"...\" to DEFS.
  12. #
  13. #DEFS = -DUNIX -DUSG -DCAWFLIB=\"/usr/local/lib/cawf\"
  14. #
  15. #    Customize the install rule.
  16.  
  17. DEFS = -DUNIX -DSTDLIB
  18.  
  19. CFLAGS = -g ${DEFS}
  20.  
  21. HDR = cawf.h cawflib.h regexp.h regmagic.h
  22.  
  23. SRC = cawf.c error.c expand.c expr.c getopt.c macsup.c output.c pass2.c \
  24.       pass3.c regerror.c regexp.c store.c string.c
  25.  
  26. OBJ = cawf.o error.o expand.o expr.o getopt.o macsup.o output.o pass2.o \
  27.       pass3.o regerror.o regexp.o store.o string.o
  28.  
  29. all:    bsfilt cawf fontfilt
  30.  
  31. bsfilt: bsfilt.c
  32.     ${CC} ${CFLAGS} bsfilt.c -o bsfilt
  33.  
  34. cawf:    ${OBJ}
  35.     ${CC} ${CFLAGS} ${OBJ} -o cawf
  36.  
  37. clean:
  38.     rm -f *.o a.out core *errs bsfilt cawf fontfilt
  39.  
  40. ${OBJ}:    ${HDR}
  41.  
  42. fontfilt: fontfilt.o getopt.o    
  43.     ${CC} ${CFLAGS} fontfilt.o getopt.o -o fontfilt
  44.  
  45. install: bsfilt cawf fontfilt
  46. ə